package com.company.service;

import java.util.List;

import com.company.dao.PageProDao;
import com.company.entity.Chanpinfuwu;

public class PageProService {
	PageProDao pageProDao;

	public PageProDao getPageProDao() {
		return pageProDao;
	}

	public void setPageProDao(PageProDao pageProDao) {
		this.pageProDao = pageProDao;
	}

	public List<Chanpinfuwu> query(int pageNum,int fenlei) {
		return pageProDao.query(pageNum,fenlei);
	}

	public int queryPageNum(int fenlei) {
		return pageProDao.queryPageNum(fenlei);
	}
}
